import allure


# 登录账户
@allure.step("登录成功")
def shop_login(username, password):
    print("登录成功", username, password)


# 浏览商品
@allure.step("浏览商品")
def open_goods():
    print("浏览商品")


# 添加购物车
@allure.step("添加购物车")
def add_shopping_cart(goods_id='10000'):
    print("添加购物车")


# 生成订单
@allure.step("生成订单")
def buy_goods():
    print("生成订单")


# 结算成功
@allure.step("结算成功")
def pay_goods():
    print("结算成功")


@allure.step("退出登录")
def logout():
    print("退出登录")
